package com.daka.dao1;

import com.daka.entity.Organization1;
import com.daka.mybatis.SQLMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository(value = "organizationDao1")
@SQLMapper
public interface OrganizationDao {

    int deleteByPrimaryKey(Integer id);

    int insert(Organization1 record);

    Organization1 selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Organization1 record);

    List<Organization1> selectList(@Param("max") Integer max, @Param("min") Integer min);

}